package com.red.battleworm.protocols {

	/**
	 * @author Administrator
	 */
	public class ProtocolFactory {
		public static function getLoginProtocol(username:String, password:String) : Protocol {
			return new SimpleProtocol("<data type='0x00'><user usrname='"+username+"' password='"+password+"'/></data>");
		}
		
		public static function getRoomListProtocol(){
			return new SimpleProtocol("<data type='0x00'></data>")
		}
		
		public static function getChooseRoomProtocol(n : int){
			return new SimpleProtocol("<data type='0x00'></data>")
		}
	}
}
